<?php
if (count($statistic) > 0)
    foreach ($statistic as $row) {
        echo "<tr>\n";
        

        echo "<td>" . $row->date . "</td>";
        echo "<td>";
        foreach($row->mod_activity as $activity){
          echo "<tr>\n";
          echo "<td></td>";
          echo "<td>" . $activity->username_mod . "</td>";
          echo "<td>" . $activity->outs . "</td>";
          echo "<td>" . $activity->ins . "</td>";
          echo "</tr>\n\n";
        }
        
        echo "</td>";
        echo "</tr>\n\n";
    }
else
    echo "<tr><td>" . lang('no_conversations') . "</td></tr>";
?>
